package org.example.src.service;

import org.example.src.entity.User;

import java.util.List;

public interface UserService {
    List<User> findAllUsers();
    User findUserById(Long id);
    User updateUser(User user);
    void deleteUser(Long id);
    List<User> findUsersByRole(String role);
}
